/**
 * Copyright 2011 Google Inc.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 * 
 * http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */

package com.googlecode.gwtgae2011.client;

import com.google.gwt.event.shared.EventBus;
import com.google.gwt.inject.client.GinModules;
import com.google.gwt.inject.client.Ginjector;
import com.google.inject.Provider;
import com.googlecode.gwtgae2011.client.main.MainModule;
import com.googlecode.gwtgae2011.client.main.MainPresenter;
import com.googlecode.gwtgae2011.client.main.SketchPresenter;
import com.googlecode.gwtgae2011.shared.service.GwtGae2011RequestFactory;
import com.gwtplatform.dispatch.client.gin.DispatchAsyncModule;
import com.gwtplatform.mvp.client.proxy.PlaceManager;
import com.gwtplatform.mvp.client.proxy.ProxyFailureHandler;
import com.google.gwt.inject.client.AsyncProvider;
import com.googlecode.gwtgae2011.client.main.ListPresenter;

/**
 * The main Gin Injector of the application
 */
@GinModules({DispatchAsyncModule.class, GwtGae2011Module.class, MainModule.class})
public interface GwtGae2011Ginjector extends Ginjector {

  // GWT-Platform standard dependencies
  EventBus getEventBus();
  PlaceManager getPlaceManager();
  ProxyFailureHandler getProxyFailureHandler();
  GwtGae2011RequestFactory getRequestFactory();

  // Presenters from MainModule
  Provider<MainPresenter> getMainPagePresenter();
  Provider<SketchPresenter> getSudokuPresenter();
  AsyncProvider<ListPresenter> getListPresenter();

  // Presenters from AdminModule

}